package com.qfedu.service.impl;

import com.qfedu.entity.MessageEntity;
import com.qfedu.mapper.TicklingMapper;
import com.qfedu.service.TicklingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@com.alibaba.dubbo.config.annotation.Service
public class TicklingServiceImpl implements TicklingService {

    @Autowired(required = false)
    TicklingMapper ticklingMapper;

    public boolean addliuyan(MessageEntity me){
        return ticklingMapper.addliuyan(me);
    }

    @Override
    public List<MessageEntity> querytickall() {
        return ticklingMapper.querytickall();
    }

    @Override
    public MessageEntity querytuck(int lid) {
        return ticklingMapper.querytuck(lid);
    }
}
